package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息和证书关联表对象 stu_data_cer
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
public class StuDataCer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生和证书的状态表id */
    @Excel(name = "学生和证书的状态表id")
    private Long studataCerId;

    /** 学生id */
    private Long stuId;

    /** 证书id */
    private Long cerId;

    @Excel(name = "学生学号")
    private String stuNumber;
    @Excel(name = "学生姓名")
    private String stuName;

    @Excel(name = "证书名称")
    private String cerName;

    /** 审核状态(0 未审核, 1 审核中，2 审核通过 ，3  审核未通过) */
    @Excel(name = "审核状态", readConverterExp = "0=未审核,1=审核中,2=审核通过,3=审核未通过")
    private String reviewStatus;

    /** 是否公开（！团队证书使用！） */
    @Excel(name = "是否公开", readConverterExp = "0=公开,1=不公开")
    private String cerDataIspublic;
    private Long stuDataUserId;
    private String filePath;
    private Long cerUserId;
    /** 用户ID */
    private Long userId;

    /** 当前用户ID */
    private Long nowUserId;
    /** 用户ID */
    private Long deptId;

    /** 邮箱 */
    private String email;

    /** 过期状态(0 过期, 1 临近过期，2 未过期，3 状态未知 ) */
    @Excel(name = "过期状态", readConverterExp = "0=过期,1=临近过期,2=未过期,3=状态未知")
    private String isExpired;

    public void setStudataCerId(Long studataCerId)
    {
        this.studataCerId = studataCerId;
    }

    public Long getStudataCerId() 
    {
        return studataCerId;
    }
    public void setStuId(Long stuId) 
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setCerId(Long cerId) 
    {
        this.cerId = cerId;
    }

    public Long getCerId() 
    {
        return cerId;
    }
    public void setReviewStatus(String reviewStatus) 
    {
        this.reviewStatus = reviewStatus;
    }

    public String getReviewStatus() 
    {
        return reviewStatus;
    }
    public void setCerDataIspublic(String cerDataIspublic) 
    {
        this.cerDataIspublic = cerDataIspublic;
    }

    public String getCerDataIspublic() 
    {
        return cerDataIspublic;
    }

    public String getStuNumber() {
        return stuNumber;
    }

    public void setStuNumber(String stuNumber) {
        this.stuNumber = stuNumber;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Long getStuDataUserId() {
        return stuDataUserId;
    }

    public void setStuDataUserId(Long stuDataUserId) {
        this.stuDataUserId = stuDataUserId;
    }

    public String getCerName() {
        return cerName;
    }

    public void setCerName(String cerName) {
        this.cerName = cerName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Long getCerUserId() {
        return cerUserId;
    }

    public void setCerUserId(Long cerUserId) {
        this.cerUserId = cerUserId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getNowUserId() {
        return nowUserId;
    }

    public void setNowUserId(Long nowUserId) {
        this.nowUserId = nowUserId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getIsExpired() {
        return isExpired;
    }

    public void setIsExpired(String isExpired) {
        this.isExpired = isExpired;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studataCerId", getStudataCerId())
            .append("stuId", getStuId())
            .append("cerId", getCerId())
            .append("reviewStatus", getReviewStatus())
            .append("cerDataIspublic", getCerDataIspublic())
            .toString();
    }
}
